package main

import "fmt"

func main()  {
	A := map[string]int{"AA":1, "BB":2}
	B := map[string]int{"AA":2, "BB":3, "CC":4}
	C := map[string]int{}
	for i, j := range B{
		C[i] += j
	}
	for i, j := range A {
		C[i] += j
	}
	fmt.Print(C)
}
